package com.example.child_protection.dto.request.find;

import com.example.child_protection.dto.base.BaseQueryRequestDTO;
import com.example.child_protection.enums.BooleanEnums;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;

/**
 * 类目查询请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class CategoryRequestDTO extends BaseQueryRequestDTO {
    /**
     * 父类目ID
     *
     * @mbggenerated
     */
    @ApiParam(value = "父类ID")
    private Long parentId;

    /**
     * 类目代码
     *
     * @mbggenerated
     */
    @ApiParam(value = "类目代码")
    private String code;

    /**
     * 状态(是否展示)
     *
     * @mbggenerated
     */
    @ApiParam(value = "状态")
    private BooleanEnums status;

    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
